<?php

namespace mpend\modules\demand\models;

use Yii;
use common\helpers\ArrayHelper;

/**
 * 需求详情信息模型
 * 
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class DemandViewSearch extends \common\models\demand\Demand {

    /**
     * @inheritdoc
     */
    public function fields() {
        return [
            'id',
            'title',
            'thumb' => 'thumbUrl',
            'category',
            'user',
            'body',
            'images',
            'attach',
            'recommend_at',
            'publish_time' => 'publishTime',
            'solutions',
        ];
    }

}
